daemon: Build with -pthread
authorRichard W.M. Jones <rjones@redhat.com>
Sat, 11 Sep 2021 08:27:17 +0000 (09:27 +0100)
committerHilko Bengen <bengen@debian.org>
Sat, 25 Sep 2021 15:51:52 +0000 (16:51 +0100)
commit2e9addcb47db0cade9412500aa55976fb012c2d9
tree1ed3543eec0f6ab96d941ac4efebed18d75a8372
parent71d7fac860f729aedc591bb63192e90b04ee2a7a
daemon: Build with -pthread

The daemon failed to link with glibc < 2.34 because we didn't include
the separate pthread library.  Adding -pthread fixes this.

Note this change was also make upstream in commit 733d2182b6 ("Remove
the tools.") although I think either by accident or unrelated.

Reported-by: Toolybird
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2003326
Gbp-Pq: Name daemon-Build-with-pthread.patch
daemon/Makefile.am